treeview: Do not focus a path on model change
authorBenjamin Otte <otte@redhat.com>
Thu, 12 Jan 2012 18:34:45 +0000 (19:34 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 12 Jan 2012 18:37:15 +0000 (19:37 +0100)
commit133179fd257a7fe06bc5348328dca0a6f8b78a08
tree3a75c227123776df151c55dbb64d131a4fdb0ca8
parentfeb1f8de1c97c8c648d0abe4be0f3e81cf76d07b
treeview: Do not focus a path on model change

Instead, focus nothing and wait until we get focus before doing so. This
restores previous behaviour but still emits proper cursor-changed
events.

Fixes a bunch of bugs in the filechooser which populates the treeview
asynchronously.

https://bugzilla.gnome.org/show_bug.cgi?id=613728
gtk/gtktreeview.c